/**
 * @author li LinChang
 * @date 2021/9/27 12:54
 */

package src;

import java.util.HashMap;
import java.util.Map;

public class testlZEROSIXFIVEFOUR {

    //data 1 2 3 2 4 5 7 10 1 5 3 5 8 9 4 5 2 3
    public static void main(String arg[]) {

        int b[] = {1, 2, 3, 2, 4, 5, 7, 10, 1, 5, 3, 5, 8, 9, 4, 5, 2, 3};

        Map<Integer, Integer> map = new HashMap<Integer, Integer>();

            for(Integer i : b) {
                   map.put(i, 0);
            }
            for(Integer i : map.keySet()) {
                System.out.print(i+" ");
            }
    }

}
